package org.feiye.studyday03;

import java.util.Scanner;

public class MathChinese {

	public static void main(String[] args) {
		// 语文数学，60
		Scanner sc = new Scanner(System.in);
		System.out.println("输入语文成绩：");
		double chinese = sc.nextDouble();
		System.out.println("输入数学成绩：");
		double math = sc.nextDouble();
		if ((chinese >= 60 && chinese <= 100) && (math >= 60 && math <= 100)) {
			System.out.println("成绩合格！");
		}
	}

}
